package wonders.mapper;

import org.apache.ibatis.annotations.*;
import wonders.pojo.Person;

import java.util.List;

public interface PersonMapper {
    void insert(@Param("p") Person p);

    Person selectById(@Param("id") int id);

    List<Person> selectAll();

    void delete(@Param("id") int id);
}
